
/**
 * 获取全局对象
 */
export const getGlobalObject = function () {
    if (typeof window === 'object') {
        return window;
    }
    if (typeof globalThis === 'object') {
        return globalThis;
    }
    return eval('this');
}


